import random
def calc():
    # nums = []
    # for i in range(2):
    #     nums.append(random.randint(1, 100))
    # print(nums)
    nums = [random.randint(1, 100) for i in range(2)]
    nums.sort(reverse=True)
    print(nums)
    op = random.choice('+-')
    if op == '+':
        result = nums[0] + nums[1]
    else:
        result = nums[0] - nums[1]
    answer = input(f'inpit {nums[0]} {op} {nums[1]}=')
    if answer == result:
        print('YES')
    else:
        print('NO', result)

if __name__ == '__main__':
    calc()
